<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<s:div id="table_content">

    <table>
        <thead>
        <th>Name and Surname</th>
        </thead>
        <tbody>
        <s:iterator value="list" var="x">
            <tr>
                <td>
                    <s:a href="#" onclick="callbackInvolucrados(
                    '%{id}',
                    '%{nombre}',
                    '%{apellido}',
                    '%{cuit}',
                    '%{degree}',
                    '%{email}',
                    '%{fax}',
                    '%{phone}' )" theme="simple" > <s:property value="nombre"/> <s:property value="apellido"/></s:a>
                </td>
            </tr>
        </s:iterator>
        </tbody>
    </table>
</s:div>
<script type="text/javascript">
    function callbackInvolucrados(id,nombre,apellido,cuit,degree,email,fax,phone){
        var investigator = Investigator(id,nombre,apellido,cuit,degree,email,fax,phone);
        closeWindowsSiteStaff(id, nombre+" "+apellido);

        //fills the EC member select
        repopulateECCandidates();
    }
</script>